package cn.getech.data.development;

import cn.getech.data.development.utils.permission.ApplyStatusUtil;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@EnableScheduling
@SpringBootApplication(scanBasePackages="cn.getech")
@EnableTransactionManagement
@EnableDiscoveryClient
@EnableFeignClients
public class DataDevelopmentApplication {
    public static void main(String[] args) {
        System.setProperty("HADOOP_USER_NAME", "hdfs");
        SpringApplication.run(DataDevelopmentApplication.class, args);
        ApplyStatusUtil.init();
    }
}
